package cn.iocoder.yudao.module.iot.controller.admin.devicerel.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 报警器和气阀绑定新增/修改 Request VO")
@Data
public class DeviceRelSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "18295")
    private Integer id;

    @Schema(description = "物联网设备名", example = "赵六")
    private String deviceName;

    @Schema(description = "气阀编号")
    private String valveCode;

    @Schema(description = "激活状态 0-未激活 1-已激活")
    private Boolean active;

    @Schema(description = "设备激活时间")
    private LocalDateTime activeTime;

    @Schema(description = "燃气用户id", example = "18647")
    private Integer memberId;

    @Schema(description = "绑定错误标记 0-正常 1-绑定错误")
    private Boolean errorFlag;

    @Schema(description = "通知事件类型", example = "2")
    private String noticeType;

}